package com.example.service;

import com.example.entity.Customer;
import com.example.entity.PageBean;
import com.example.entity.Worker;

import java.util.List;
import java.util.Map;

public interface CustomerService {
    PageBean page(Integer page, Integer pageSize, String name);

    void delete(List<Integer> ids);

    Customer findById(Integer id);

    Customer login(Customer customer);

    Map<String,Object> getuUserinfo(String token);

    void add(Customer customer);

    void updata(Customer customer);

    Customer addVisitor();
}
